package com.yufei.entity;


import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class Entity implements Serializable {
	@Override
	public String toString() {
		return "Entity [id=" + id + "]";
	}
	@Id
	protected Long id;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	




}
